package com.huawei.appmarket.service.externalapi.bean;

import com.huawei.appgallery.serverreqkit.api.bean.BaseResponseBean;
import com.huawei.appmarket.service.activitydispatcher.OpenGateway.Param;
import com.huawei.hwid.core.constants.HwAccountConstants;
import java.util.List;

public class OpenMarketResponse extends BaseResponseBean {
    public static final int RTN_CODE_FAILED_2 = 2;
    public static final int RTN_CODE_SUCC = 0;
    private String activityName_;
    private List<Param> params_;
    private String resultDesc_;

    public OpenMarketResponse() {
        setRtnCode_(-1);
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("responseCode:").append(getResponseCode()).append("\r\n");
        stringBuilder.append("rtnCode:").append(getRtnCode_()).append("\r\n");
        stringBuilder.append("resultDesc:").append(ˎ()).append("\r\n");
        stringBuilder.append("activityName:").append(ˋ()).append("\r\n");
        stringBuilder.append("params:");
        if (ॱ() != null) {
            for (Param append : ॱ()) {
                stringBuilder.append("param[").append(String.valueOf(0)).append("]:").append(append);
            }
        } else {
            stringBuilder.append(HwAccountConstants.NULL);
        }
        return stringBuilder.toString();
    }

    public String ˎ() {
        return this.resultDesc_;
    }

    public String ˋ() {
        return this.activityName_;
    }

    public List<Param> ॱ() {
        return this.params_;
    }
}
